<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class ProductParts extends Model
{
    protected $table = 'product_parts';

    protected $guarded = [];

    public function belongsToParts()
    {
        return $this->belongsTo('App\Parts', 'parts_id');
    }
}
